package palf.visualEffects.timing {
import com.greensock.TweenLite;

import palf.visualEffects.utils.PositionData;

internal class TweenLiteBasic implements Timing {

	private var duration : Number;

	public function TweenLiteBasic(duration : Number) {
		this.duration = duration;
	}

	public function apply(data : PositionData) : void {
		TweenLite.to(data.target, duration, {
			x:data.x,
			y:data.y,
			rotation:data.rotation
		});
	}

	public function reset() : void {

	}

}

}
